//
//  AppDelegate.swift
//  CZWeiBo1
//
//  Created by 1 on 15/11/22.
//  Copyright © 2015年 itcast. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?
  

    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        
        window=UIWindow(frame: UIScreen.mainScreen().bounds)
        
        //创建tabbarVc
        let tabbarVc = CZMainTabBarController()
        //设置更控制器
        window?.rootViewController = tabbarVc
        
      //设置keywindow和现实
        
        window?.makeKeyAndVisible()
               return true
    }

    

}

